Package com.netscape.certsrv.extensions
Class CMSExtension
java.lang.Object
com.netscape.certsrv.extensions.CMSExtension
- Direct Known Subclasses:
KeyUsage
CMS extension class, for creating extensions from http input and
displaying extensions to html forms.
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.mozilla.jss.netscape.security.x509.Extension
getExtension
(ArgBlock argblock) Get an instance of the extension given http input.abstract ArgBlock
getFormParams
(org.mozilla.jss.netscape.security.x509.Extension extension) Get Javascript name value pairs to put into the request processing template.abstract String
getName()
Get name of this extension.abstract org.mozilla.jss.netscape.security.util.ObjectIdentifier
getOID()
Get object identifier associated with this extension.abstract void
init
(ConfigStore config) initialize from configuration file
-
Field Details
-
EXT_IS_CRITICAL
-
EXT_PREFIX
-
-
Constructor Details
-
CMSExtension
public CMSExtension()
-
-
Method Details
-
init
initialize from configuration file- Throws:
EBaseException
-
getName
Get name of this extension.- Returns:
- the name of this CMS extension, for
-
getOID
public abstract org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()Get object identifier associated with this extension. -
getExtension
public abstract org.mozilla.jss.netscape.security.x509.Extension getExtension(ArgBlock argblock) throws EBaseException Get an instance of the extension given http input.- Returns:
- an instance of the extension.
- Throws:
EBaseException
-
getFormParams
public abstract ArgBlock getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension) throws EBaseException Get Javascript name value pairs to put into the request processing template.- Returns:
- name value pairs
- Throws:
EBaseException
-